package com.newtouch.bxzs.common.base.em;

/**
 * 个人客户职业返回枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月23日</td>
 * <td>lingshouyi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lingshouyi
 *
 * @version 1.0.0
 * @since 1.0.0
 */
public enum CustomerOccupationEnum {
	// 教师
	TEACHER("1", "教师"),
	// 项目经理
	SOFTWARE_ENGINEERING("2", "项目经理");

	private String code;

	private String name;

	CustomerOccupationEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	public Integer toInteger() {
		return Integer.parseInt(this.code);
	}

	public String getCode() {
		return code;
	}

	public String getName() {
		return name;
	}

}
